package com.mapper;

import com.pojo.Power;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PowerMapper {
    public List<Power> selectAllPowers();
    public List<Power> selectPowers();
    public List<Power> selectPowersByAdminId(long admin_id);
    public List<Power> selectPowerOneByRid(long role_id);
    public List<Power> selectPowerTwoByRidPid(@Param("role_id") long role_id, @Param("pid") long pid);
}
